package com.cinc.ebc.mm.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.cinc.ebc.mm.entity.MmPurchaseRequisitionDetail;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cinc.ebc.mm.model.MmPurchaseRequisitionDetailModel;

import java.util.List;

/**
 * @Description: 采购申请明细
 * @Author: jeecg-boot
 * @Date:   2022-03-20
 * @Version: V1.0
 */
public interface IMmPurchaseRequisitionDetailService extends IService<MmPurchaseRequisitionDetail> {

	IPage<MmPurchaseRequisitionDetail> selectPageByMainId(IPage<MmPurchaseRequisitionDetail> page, String mainId);

	List<MmPurchaseRequisitionDetail> selectByMainId(String mainId);

	List<MmPurchaseRequisitionDetailModel> selectAllByMainId(String mainId);
	IPage<MmPurchaseRequisitionDetailModel> selectAllPageByMainId(IPage<MmPurchaseRequisitionDetailModel> page, String mainId);

	List<String> selectIdByMainId(List<String> mainIds);
}
